*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.container {
  height: 100vh;
  padding: 16px;
  background-image: url('https://tse1-mm.cn.bing.net/th/id/OIP-C.9lw_qrqcH_X7uTEmZVCNUQHaNK?w=181&h=322&c=7&r=0&o=7&dpr=1.3&pid=1.7&rm=3');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  
}

.header {
  padding: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
  
}

.avatarContainer {
  width: 80px;
  height: 80px;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.userInfo {
  flex: 1;
}

.username {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.qrButton {
  padding: 8px;
  cursor: pointer;
}
.gong{
  margin-top: 20px;
  width: 100%;
  height: 150px;
   background-color: rgba(255, 255, 255, 0.4);
   border-radius: 10px;
}
img{
  width: 40px;
  height: 40px;
}
.gong {
  background-color: rgba(255, 255, 255, 0.4); /* 灰色透明背景 */
  backdrop-filter: blur(5px); /* 毛玻璃效果 */
  border-radius: 12px; /* 圆角 */
  padding: 16px;
  margin: 16px 0;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4); /* 轻微阴影 */
}

.title {
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);;
}

.functionGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列等宽布局 */
  gap: 12px;
}

.functionItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.functionItem:hover {
  transform: translateY(-3px);
}

.functionIcon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  object-fit: contain;
}

.functionText {
  font-size: 14px;
  color: #333;
  text-align: center;
}